package com.trembear.ucaroauth.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Junwei.Xiong
 * @description:OauthController
 * @create 2018-07-12 9:35
 */
@RestController
public class OauthController {
    @RequestMapping("/login")
    public String login(){
        return "login Page";
    }
    @RequestMapping("/testPage")
    public String test(){
        return "test Page";
    }
    @RequestMapping("/public")
    public String publicPage(){
        return "public Page";
    }
    @RequestMapping("/success")
    public String success(){
        return "success";
    }
    @RequestMapping("/failure")
    public String failure(){
        return "failure";
    }
}

